<x-button (click)="expandedAll = !expandedAll">{{ expandedAll ? '全部收起' : '全部展开' }}</x-button> <br /><br />
 <a routerLink="/expandtable2" routerLinkActive="active">跳转自定义展开模板表格</a><br /><br />
<x-table
  [columns]="columns"
  [data]="data"
  [showPagination]="false"
  loading
  treeTable
  [expanded]="expanded"
  [expandedLevel]="expandedLevel"
  [expandedAll]="expandedAll"
>
</x-table>

